/*
 * Copyright 2020 edenrun.cn All right reserved. This software is the
 * confidential and proprietary information ofedenrun.cn ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with edenrun.cn.
 */

package com.zoom.pluto.zxg.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 健康检查控制层
 *
 * @author zoom
 * @date 2020-06-04
 */
@Api(value = "系统健康接口", tags = {"系统健康接口"})
@RestController
public class HealtchCheckController {

    /**
     * 健康检查接口
     *
     * @return 系统健康
     */
    @ApiOperation(value = "健康检查接口", httpMethod = "GET")
    @GetMapping("/health")
    public String health() {
        return "UP";
    }

}
